<!-- 导航栏占位组件---------------------- -->
<template>
	<!-- 状态栏占位组件 -->
	<view :style="{height:height+'px'}"></view>
</template>

<script setup>
	import {
		onMounted,
		ref
	} from 'vue';
	console.log("uni.getWindowInf获取到高度", uni.getWindowInfo().statusBarHeight); //20
	const height = uni.getWindowInfo().statusBarHeight;
</script>

<style>

</style>